package com.qcby.byc.demo0422.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qcby.byc.demo0422.entity.Person;
import com.qcby.byc.demo0422.util.PageVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @className: PersonService
 * @description:
 * @author: lxt
 * @create: 2021-04-22 17:16
 **/
public interface PersonService extends IService<Person> {

    PageVo listAll(int pageNum, int pageSize);


    List<Person> listAll1();

    void testTr();


    void saveNew(Person person);
    void saveOld(Person person);
    void insertBatch(List<Person> personList);
    void deleteByIds( List<Long> idList);

    List<Person> listPersonNew(String name);

    List<Person> listPersonNewM();

}
